package com.jrx.anytxn.transaction.dto.loan;

import com.jrx.anytxn.transaction.dto.common.CommonReq;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

public class AllBillQueryRep extends CommonReq {

    @ApiModelProperty(value = "开始月份")
    @NotEmpty(message = "开始月份不允许空")
    @Size(max=6, message = "开始月份不能超过6位")
    private String startMonth;

    @ApiModelProperty(value = "结束月份")
    @NotEmpty(message = "结束月份不允许空")
    @Size(max=6, message = "结束月份不能超过6位")
    private String endMonth;

    public String getStartMonth() {
        return startMonth;
    }

    public void setStartMonth(String startMonth) {
        this.startMonth = startMonth;
    }

    public String getEndMonth() {
        return endMonth;
    }

    public void setEndMonth(String endMonth) {
        this.endMonth = endMonth;
    }
}
